﻿using Sustainalytics.ClientDW.Entities;
using System;

namespace Sustainalytics.GCCS.Service
{
    public class GCCompanyProfileBasicDto
    {
        public Guid Id { get; set; }
        public string Name { get; set; }
        public string NameLowercase { get; set; }
        public string NameUrlFriendly { get; set; }


        public virtual GCCompanyProfileBasicDto LoadFrom(GCCompanyProfileBasic data)
        {
            this.Id = data.Id;
            this.Name = data.Name;
            this.NameLowercase = data.NameLowercase;
            this.NameUrlFriendly = data.NameUrlFriendly;

            return this;
        }
    }
}
